<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<p>Welcome to visit this web</p>
	<%
		int sumcount = 0;
		String str = (String) session.getAttribute("count");
		if (str == null) {
			sumcount++;
			String personCount = String.valueOf(sumcount);
			session.setAttribute("count", personCount);
		}
	%>
	<p>
		你是<%=(String)session.getAttribute("count")%>个访问本网站的客户
	</p>
	<a href="hellotwo.jsp">欢迎去hellotwo.jsp参观</a>
</body>
</html>